import { Component, OnInit } from '@angular/core';
declare var layui;
@Component({
  selector: 'app-order-food',
  templateUrl: './order-food.component.html',
  styleUrls: ['./order-food.component.css']
})
export class OrderFoodComponent implements OnInit {

  constructor() { }

  ngOnInit() {
    layui.use(['element', 'layer', 'form', 'table'], function () {
      var element = layui.element;
      var layer = layui.layer;
      var form = layui.form;
      var table = layui.table;
      element.render();
      form.render();
      element.render('element');
    });
  }

}
